const { defineConfig } = require("@vue/cli-service");
<<<<<<< HEAD

// const { config } = require('vue/types/umd')

=======
// const { config } = require('vue/types/umd')
>>>>>>> pm
module.exports = defineConfig({
  transpileDependencies: true,
  devServer: {
    host: "127.0.0.1",
    port: 8888,
    https: false,
    open: true,
    proxy: {
      "/api": {
        target: "http://146.56.230.35:3007/",
        ws: true,
        changeOrigin: true,
        pathRewrite: {
          "^/api": "",
        },
      },
    },
  },
  runtimeCompiler: true,
  publicPath: "./",
  outputDir: "dist",
  chainWebpack: (config) => {
    config.plugin("html").tap((args) => {
      args[0].title = "web26";
      args[0].minify = false;
      return args;
    });
  },
});
